package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1.bxscn;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

/**
 * 获取便携式储能电池类型
 * @version 2023-08-29
 */
public class BXSCNShopScanInfoResponse extends SecurityResponse<BXSCNShopScanInfoResponse.Body> {

    private static final long serialVersionUID = 1L;

    public BXSCNShopScanInfoResponse() {
        this.body = new Body();
    }

    public BXSCNShopScanInfoResponse(Integer code, String msg) {
        this.body = new Body();
        this.code = code;
        this.msg = msg;
    }

    public static class Body implements Serializable {

        private Long placeId;
        private String placeName;
        private String address;
        private List<Item> items;

        public Long getPlaceId() {
            return placeId;
        }

        public void setPlaceId(Long placeId) {
            this.placeId = placeId;
        }

        public String getPlaceName() {
            return placeName;
        }

        public void setPlaceName(String placeName) {
            this.placeName = placeName;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }


    public static class Item {

        private String id;
        private String name;
        private String thumbnailImg;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumbnailImg() {
            return thumbnailImg;
        }

        public void setThumbnailImg(String thumbnailImg) {
            this.thumbnailImg = thumbnailImg;
        }
    }
}
